﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Diagnostics;

namespace __moov
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (!EventLog.SourceExists("Moov - Client")) EventLog.CreateEventSource("Moov - Client", "Application");

            if (Properties.Settings.Default.Session.Equals("00:00:00")) Application.Run(new FrmLogin());
            else Application.Run(new frmMain()); 

        }
    }
}
